<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/user/login" method="post" >
    <!--    加入隐藏项 传入名称和token值-->
<!--    <input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}" />-->
    <input type="text" name="username" >
    <br>
    <input type="text" name="password">
    <br>
    <button type="submit" >登录</button>
    <br>
    <input type="checkbox" name="remember-me">自动登录
</form>
</body>
</html>